php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#144398 - 03/18/02 01:33 PM [6.2x] view topic summary
wwb95 Offline
Member

Registered: 11/14/01
Posts: 154
########################################################################
#HACK NAME : view topic summary
#VERSION: final
#DESCRIPTON : When the mouse move in the top of a subject field in the forum page summary a portion of the topic will be shown by this hack.
#AUTHOR : wwb95..wwb95@hotmail.com
#Modification from 1 beta:
# 1-The last three character of the topic summary is removed and replaced by “…”
# 2-

and
</tr> will be replaced by end of line character.
#file to edit:
# CP_LIB.CGI
# CP_VARS_MISC.PL
# UBB_FORUM.CGI
# PUBLIC_FORUM_PAGE.PL
########################################################################

The hack will look like this



.
.
.
.
.

Test the hack in this site
.
.
.
.
.
To download it click me

Top
#144399 - 03/18/02 04:33 PM Re: [6.2x] view topic summary
Rattler til Death Offline
Member

Registered: 06/10/00
Posts: 46
Loc: Tallahassee, FL
Seems to be working fine for me.

Thanks
_________________________
I have <img src="http://www.ubbdev.com/ud/?u=[meacfans.com] Rattler til Death&s=1" alt=" - " /> points.
Team meacfans.com has <img src="http://www.ubbdev.com/ud/?u=[meacfans.com]Rattler til Death,[meacfans.com] Miz-Val,[meacfans.com]bouche,[meacfans.com]TechnoRattler,meacfans.com]The Camera,[meacfans.com]RAM&s=1" alt=" - " />

Top
#144400 - 03/18/02 11:10 PM Re: [6.2x] view topic summary
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
I suggest you that when it will reach 201 characters (max number + 1), remove 4 characters (197) and replace them with "..." (200) smile
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#144401 - 03/19/02 07:11 AM Re: [6.2x] view topic summary
wwb95 Offline
Member

Registered: 11/14/01
Posts: 154
Rattler
Thanks for trying the hack

LK
smile smile smile
I have done the suggestion
Thanks for this good improvement

Top
#144402 - 03/19/02 09:33 AM Re: [6.2x] view topic summary
Consolefreak Offline
Member

Registered: 03/17/02
Posts: 53
Loc: The Netherlands
is it just me or does it remove the bordor lines?

Top
#144403 - 03/19/02 09:49 AM Re: [6.2x] view topic summary
wwb95 Offline
Member

Registered: 11/14/01
Posts: 154
Consolefreak
Before this post I have no border line in the test board. I went there and place the border in the style template to see if you are right.
This hack dose not do any thing with the boarder you can check the test board and see it there
Thanks for replay

Top
#144404 - 03/19/02 12:04 PM Re: [6.2x] view topic summary
Consolefreak Offline
Member

Registered: 03/17/02
Posts: 53
Loc: The Netherlands
my fault sorry laugh , anyways, thnx 4 making this hack, its very handy!

Top
#144405 - 03/19/02 11:39 PM Re: [6.2x] view topic summary
yors Offline
Member

Registered: 10/09/01
Posts: 152
Version 6.2.

In ubb_forum.cgi, the text says...

Code:
[/code]My file doesnt have that #validate. However, something similar is like this...

 [code]
Does it mean that the changes (adding $topic) go in there?
_________________________
Yors Truly

Who? Me? Worry?

Top
#144406 - 03/19/02 11:57 PM Re: [6.2x] view topic summary
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
My ubb_forum also doesn't have #validate, so I guess you can ignore it. tipsy
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#144407 - 03/20/02 12:07 AM Re: [6.2x] view topic summary
yors Offline
Member

Registered: 10/09/01
Posts: 152
In the same file, the text says...

[code][/code]I presume there is no need to "duplicate" the my @this_topic_data, instead it should be replaced?
_________________________
Yors Truly

Who? Me? Worry?

Top
#144408 - 03/20/02 01:24 AM Re: [6.2x] view topic summary
yors Offline
Member

Registered: 10/09/01
Posts: 152
OK, I did both the things above, ie added the $topic in the sub get_forum instead of #validate and also "replaced" my @this_topic_data line instead of "adding" below.

The hack works perfectly laugh

gr8 job...thanks.
_________________________
Yors Truly

Who? Me? Worry?

Top
#144409 - 03/20/02 02:37 AM Re: [6.2x] view topic summary
yors Offline
Member

Registered: 10/09/01
Posts: 152
btw, I am wondering what this par of the code is doing...

[code][/code]My flood check setting automatically increased to 200 !! (which is the default I set in CP for amount of message characters to display)
_________________________
Yors Truly

Who? Me? Worry?

Top
#144410 - 03/20/02 02:45 AM Re: [6.2x] view topic summary
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Make the first part:[code][/code]
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#144411 - 03/20/02 01:15 PM Re: [6.2x] view topic summary
q_ware Offline
Member

Registered: 03/17/01
Posts: 95
very nice hack

can I choose to show the first message of the topic, or the last message of the topic pls?

Top
#144412 - 03/21/02 06:45 AM Re: [6.2x] view topic summary
yors Offline
Member

Registered: 10/09/01
Posts: 152
Code:
[/code][/b]</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Actually putting the following worked  :D 

 [code]
Thanks a lot anyways smile
_________________________
Yors Truly

Who? Me? Worry?

Top
#144413 - 03/22/02 01:19 PM Re: [6.2x] view topic summary
Mystik Gotan Offline
Member

Registered: 12/20/01
Posts: 49
Loc: The Netherlands
In your setup TXT, please note switching to vars_misc.cgi . Their might be guys trying to find the FloodCheckSpan value in cp_lib (and we don't want that, right? tipsy )

Anywayz, I've uploaded my portion, but it seems vars_misc.cgi doesn't really want to change the file :rolleyes:

My Mega Moderator Title can't be changed too :rolleyes:

I'll see and fix the bug then, don't say chmod 777, I know tipsy , and I'm working on a windows.

Bye
_________________________
No images accepted anymore

Top
#144414 - 03/22/02 01:25 PM Re: [6.2x] view topic summary
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
yors, I don't think that it will work tipsy

wwb, maybe mod cp integration? smile
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#144415 - 03/22/02 02:22 PM Re: [6.2x] view topic summary
wwb95 Offline
Member

Registered: 11/14/01
Posts: 154
Yors
My mistake the validate is to make sour that the only change to the line is the addition of ,"view_topic","view_topic_char" at the end of the line before );

Done now in the new release
Thanks

----
Lk
Thanks you are correct
---
Yors
Solve now in the new release
Thanks

-----
Yors
Happy to hear that
Thanks

----
Yors
Done now in the new release
Thanks

---
Lk
Thanks done now in the new release

---
q_ware
thanks
I will tray to do that in the next release

----
Yors
The correct way to do it is
[code][/code]all will work hopefully

----
Mystik Gotan
No you do not change any thing in vars_misc.cgi. it will be updated automatically from the cp.
Will after you do all the modifications that I have done in the new release it should work with you
About the Mega Moderator I will look at it and see if there is any conflict with this hack
---

Lk
Done try it
Thanks for your help

Top
#144416 - 03/22/02 02:45 PM Re: [6.2x] view topic summary
wwb95 Offline
Member

Registered: 11/14/01
Posts: 154
Yors
The correct way to do it is
Code:
[/code]and change  the following 
[code]
now it will work
in my previous replay I have note add the above modification

----
Mystik Gotan
The conflict is because you copy the code with out validating
Look for
Code:
[/code]and replace it by 
[code]
Note that Mega Moderator has this added to this line before
"MegaModeratorTitle",
and when you replace it with my code that dose not has this variable in it the Mega Moderator will not work

---

Lk
You are right it will not work
Thanks

Top
#144417 - 03/23/02 12:09 AM Re: [6.2x] view topic summary
yors Offline
Member

Registered: 10/09/01
Posts: 152
I dont know why or how, but it actually worked after I did that change!!!

Or is it doing something else that I have not noticed till now tipsy . I mean, I said "working fine" before also and THEN noticed that the floodcheck got screwed up smile

You can check it here:

www.myhotboard.com
u: visitor
p:visitor

------

Bottomline is I have to thank you from my heart for this very "useful" hack. With 10,000 members and around 200 avg online in 30 minutes (457 max laugh ), our server is perpetually creaking. (We had to turn Rec. Vis. off to save the server). I guess this helps to reduce server load on the backend, offcourse also being such a gr8 feature for fast surfing on the frontend.
_________________________
Yors Truly

Who? Me? Worry?

Top
Page 1 of 2 1 2 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks